package org.gruposp2p.aula.gwt.client.model;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlType
@XmlRootElement(name = "link")
@XmlAccessorType(XmlAccessType.NONE)
public class Link implements Serializable {

    @XmlAttribute(name="href")
    private String href;
    @XmlAttribute(name="rel")
    private String rel;
    @XmlAttribute(name="id")
    private String id;
    @XmlAttribute(name="name")
    private String name;    

    /**
     * @return the href
     */
    public String getHref() {
        return href;
    }
    
    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the name
     */
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * @param href the href to set
     */
    public void setHref(String href) {
        this.href = href;
    }

    /**
     * @return the rel
     */
    public String getRel() {
        return rel;
    }

    /**
     * @param rel the rel to set
     */
    public void setRel(String rel) {
        this.rel = rel;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

}
